package base.java9_17;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 不可变集合
 *
 * @author 王霄
 * @date 2021/9/28 21:31
 */
public class UnsupportedDemo {
    public static void main(String[] args) {
        System.out.println(Set.of(1, 3, 4, 5, 6));
        System.out.println(List.of(1, 3, 4, 5, 6, 6));
        System.out.println(Map.of(1, 3));
    }
}
